//
//  LS_ViewModelServicesImpl.m
//  breadPro
//
//  Created by 刘文超 on 2019/7/5.
//  Copyright © 2019 刘文超. All rights reserved.
//

#import "LS_ViewModelServicesImpl.h"
#import "LS_CityTravelProtocolImp.h"
#import "LS_FindProtocolImp.h"
#import "LS_DestinalProtocolImp.h"
#import "LS_MeProtocolImp.h"

@interface LS_ViewModelServicesImpl()
@property(strong,nonatomic)LS_CityTravelProtocolImp *cityTravelService;
@property(nonatomic,strong)LS_FindProtocolImp *findProtoServe;
@property(nonatomic,strong)LS_DestinalProtocolImp *destinalProServe;
@property(nonatomic,strong)LS_MeProtocolImp *meProtoServe;
@end

@implementation LS_ViewModelServicesImpl
-(instancetype)initWithModelServiceImpl
{
    if (self = [super init]) {
        self.cityTravelService = [LS_CityTravelProtocolImp new];
        self.findProtoServe = [LS_FindProtocolImp new];
        self.destinalProServe = [LS_DestinalProtocolImp new];
        self.meProtoServe = [LS_MeProtocolImp new];
    }return self;
}


- (nonnull id<LS_CityTravelProtocol>)getCityTravelService {
    return self.cityTravelService;
    
}
-(nonnull id<LS_FindProtocol>)getFindService
{
    return self.findProtoServe;
}
-(nonnull id<LS_DestinalProtocol>)getDestineService
{
    return self.destinalProServe;
}
-(nonnull id<LS_Meprotocol>)getMeService
{
    return self.meProtoServe;
}

@end
